﻿#ifndef __SS_I_RES_H__
#define __SS_I_RES_H__
#include "../ssObject.h"


namespace StarSeeker
{

enum ssResType
{
	SS_RES_NULL = 0,
	SS_RES_BINARY,		//二进制文件
	SS_RES_MODEL,		//模型
	SS_RES_PICTURE,		//图片
};

class ssIRes : public ssObject
{
public:
	ssIRes(const char* name)
		:ssObject(name), m_type(SS_RES_NULL), m_withoutRef(false)
	{
	}
	virtual ~ssIRes()
	{
	}

	void WithoutRef(bool withoutRef)
	{
		m_withoutRef = withoutRef;
	}
	bool GetWithoutRef() const
	{
		return m_withoutRef;
	}

protected:
	ssResType	m_type;
	bool		m_withoutRef;
};

}
#endif
